<?php

/*    This file is part of ipmanage.

    ipmanage is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    ipmanage is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with ipmanage.  If not, see <http://www.gnu.org/licenses/>.
*/

// Config.php
// Stores SQL information and sets some constants
require_once ('DB.php');
   $dbdriver = "mysqli";
   $dbuser = "root";
   $dbpassword = "Ig0troot1";
   $dbhost = "localhost";
   $dbname = "ips";
	# DSN constructed from parameters
	define('DBCONN', $dbdriver.'://'.$dbuser.':'.$dbpassword.'@'.$dbhost.'/'.$dbname);
	define ('DEBUG', true);
	$db = DB::Connect(DBCONN);
	if (DB::isError ($db))
	die ("Cannot connect to DBCONN " . $db->getMessage() . "\n");
?>